import React from 'react';
import {render} from "react-dom";
import {Router, browserHistory} from "react-router";
import {setRefererr, setRootPath} from './app/index/services/app';
import rootRoute from "./routes";
import {polyfill} from "es6-promise";
import './utils/extends'
render(
    <Router history={browserHistory} routes={rootRoute} />,
    document.getElementById("globalMountNode")
)

setRootPath();
setRefererr();
polyfill();
